#include "StdAfx.h"
#include "path_style.h"


path_style::path_style(void)
{
	component_count = 0;
}


path_style::~path_style(void)
{
}

void path_style::add_component(path_component *component)
{
	if( component_count>=MAX_COMPONENT_COUNT )
	{
		printf("Fail! Component number exceed!");
		return;
	}
	components[component_count] = component;
	component_count++;
}
